package com.eastcode.mobile.server.user.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Cached;

/**
 * 通讯录
 * 
 * @author 王一进
 * 
 */
@Cached
public class Contact implements Serializable {

	private static final long serialVersionUID = -7550832643080804810L;

	/** 主键 **/
	@Id
	private Long id;

	/** 记录在设备上的主键编码 **/
	private String clientKey;

	/** 用户ID **/
	private String userId;

	/** 号码 **/
	private String number;

	/** 姓名 **/
	private String name;

	/** 创建时间 **/
	private Date createTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getClientKey() {
		return clientKey;
	}

	public void setClientKey(String clientKey) {
		this.clientKey = clientKey;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

}
